package io.rehuo.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shiguang
 * @date 2022年09月10日 23:21
 */
@Data
@ApiModel("用户基础信息")
public class UserOneFormEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    @NotBlank(message="Nhập tên đầy đủ is null")
    private String userName;

    @ApiModelProperty(value = "电话号码")
    @NotBlank(message="Nhập số CMND/ CCCD")
    private String cardNo;

    @ApiModelProperty(value = "性别")
    @NotBlank(message="params is not null")
    private String sex;

    private String birthday;

    @ApiModelProperty(value = "学历")
    @NotNull(message="params is not null")
    private Long education;

    @ApiModelProperty(value = "婚姻状况")
    @NotNull(message="params is not null")
    private Long marriageStatus;

    @ApiModelProperty(value = "小孩数量")
    @NotNull(message="params is not null")
    private Long childNum;

    @ApiModelProperty(value = "小孩数量")
    @NotNull(message="params is not null")
    private Long housing;

    @ApiModelProperty("居住时间")
    @NotNull(message="params is not null")
    private Long housingTime;

    @ApiModelProperty("保险")
    @NotNull(message="params is not null")
    private Long insuranceId;

    @ApiModelProperty("facebook链接")
    private String facebookLink;

    @ApiModelProperty("zalo链接")
    private String zaloLink;

}
